package com.example.share.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class jumpController {
    @RequestMapping("/rent")
    @ResponseBody
    public String toRent(){

        return "rent";
    }

    @RequestMapping("/devote")
    @ResponseBody
    public String toDevote(){

        return "devote";
    }
}
